package com.system.brandsserver.service;

import com.system.commonutils.bean.ApiResult;
import com.system.commonutils.pojo.GoodsBrand;


import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: ll
 * Date: 2020/07/07 10:31
 * Description:
 * Version: V1.0
 */


public interface BrandService {


    /**
     * 根据商品类型id或商品类型名以及页码模糊查询
     * @param goodsBrand
     * @return
     */
      List<GoodsBrand> queryBrand(GoodsBrand goodsBrand);

    int queryTotalSize(GoodsBrand goodsBrand);

    List<GoodsBrand> selectBrand(GoodsBrand goodsBrand);

    int delBrand (GoodsBrand goodsBrand);

    List<GoodsBrand> isExist(String getGoodsBrand_name);

    int addBrand(GoodsBrand goodsBrand);

    int editBrand(GoodsBrand goodsBrand);
}
